#coding:utf8
import sys


from flask import Flask,render_template
app = Flask(__name__)
navigation = [{'href':'http://www.baidu.com','caption':'baidu'},
			  {'href':'http://www.google.com','caption':'google'},
			  {'href':'http://www.youtube.com','caption':'youtube'}]

@app.route('/')
def hello_world():
    return render_template('index.html', navigation=navigation )

@app.route('/test')
def test():
	return render_template('base.html')

@app.route('/blog')
def blog():
	return render_template('blog.html')

@app.route('/login')
def login():
	return render_template('login.html')

if __name__ == '__main__':
    app.run(debug=True)